package com.tro.generator.entity;

import com.tro.common.util.mybatis.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class GenTableExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public GenTableExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGtableNameIsNull() {
            addCriterion("GTABLE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andGtableNameIsNotNull() {
            addCriterion("GTABLE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andGtableNameEqualTo(String value) {
            addCriterion("GTABLE_NAME =", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameNotEqualTo(String value) {
            addCriterion("GTABLE_NAME <>", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameGreaterThan(String value) {
            addCriterion("GTABLE_NAME >", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameGreaterThanOrEqualTo(String value) {
            addCriterion("GTABLE_NAME >=", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameLessThan(String value) {
            addCriterion("GTABLE_NAME <", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameLessThanOrEqualTo(String value) {
            addCriterion("GTABLE_NAME <=", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameLike(String value) {
            addCriterion("GTABLE_NAME like", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameNotLike(String value) {
            addCriterion("GTABLE_NAME not like", value, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameIn(List<String> values) {
            addCriterion("GTABLE_NAME in", values, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameNotIn(List<String> values) {
            addCriterion("GTABLE_NAME not in", values, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameBetween(String value1, String value2) {
            addCriterion("GTABLE_NAME between", value1, value2, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableNameNotBetween(String value1, String value2) {
            addCriterion("GTABLE_NAME not between", value1, value2, "gtableName");
            return (Criteria) this;
        }

        public Criteria andGtableCommentIsNull() {
            addCriterion("GTABLE_COMMENT is null");
            return (Criteria) this;
        }

        public Criteria andGtableCommentIsNotNull() {
            addCriterion("GTABLE_COMMENT is not null");
            return (Criteria) this;
        }

        public Criteria andGtableCommentEqualTo(String value) {
            addCriterion("GTABLE_COMMENT =", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentNotEqualTo(String value) {
            addCriterion("GTABLE_COMMENT <>", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentGreaterThan(String value) {
            addCriterion("GTABLE_COMMENT >", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentGreaterThanOrEqualTo(String value) {
            addCriterion("GTABLE_COMMENT >=", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentLessThan(String value) {
            addCriterion("GTABLE_COMMENT <", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentLessThanOrEqualTo(String value) {
            addCriterion("GTABLE_COMMENT <=", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentLike(String value) {
            addCriterion("GTABLE_COMMENT like", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentNotLike(String value) {
            addCriterion("GTABLE_COMMENT not like", value, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentIn(List<String> values) {
            addCriterion("GTABLE_COMMENT in", values, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentNotIn(List<String> values) {
            addCriterion("GTABLE_COMMENT not in", values, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentBetween(String value1, String value2) {
            addCriterion("GTABLE_COMMENT between", value1, value2, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGtableCommentNotBetween(String value1, String value2) {
            addCriterion("GTABLE_COMMENT not between", value1, value2, "gtableComment");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyIsNull() {
            addCriterion("GKEY_POLICY is null");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyIsNotNull() {
            addCriterion("GKEY_POLICY is not null");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyEqualTo(Long value) {
            addCriterion("GKEY_POLICY =", value, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyNotEqualTo(Long value) {
            addCriterion("GKEY_POLICY <>", value, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyGreaterThan(Long value) {
            addCriterion("GKEY_POLICY >", value, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyGreaterThanOrEqualTo(Long value) {
            addCriterion("GKEY_POLICY >=", value, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyLessThan(Long value) {
            addCriterion("GKEY_POLICY <", value, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyLessThanOrEqualTo(Long value) {
            addCriterion("GKEY_POLICY <=", value, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyIn(List<Long> values) {
            addCriterion("GKEY_POLICY in", values, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyNotIn(List<Long> values) {
            addCriterion("GKEY_POLICY not in", values, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyBetween(Long value1, Long value2) {
            addCriterion("GKEY_POLICY between", value1, value2, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGkeyPolicyNotBetween(Long value1, Long value2) {
            addCriterion("GKEY_POLICY not between", value1, value2, "gkeyPolicy");
            return (Criteria) this;
        }

        public Criteria andGtableStyleIsNull() {
            addCriterion("GTABLE_STYLE is null");
            return (Criteria) this;
        }

        public Criteria andGtableStyleIsNotNull() {
            addCriterion("GTABLE_STYLE is not null");
            return (Criteria) this;
        }

        public Criteria andGtableStyleEqualTo(String value) {
            addCriterion("GTABLE_STYLE =", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleNotEqualTo(String value) {
            addCriterion("GTABLE_STYLE <>", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleGreaterThan(String value) {
            addCriterion("GTABLE_STYLE >", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleGreaterThanOrEqualTo(String value) {
            addCriterion("GTABLE_STYLE >=", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleLessThan(String value) {
            addCriterion("GTABLE_STYLE <", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleLessThanOrEqualTo(String value) {
            addCriterion("GTABLE_STYLE <=", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleLike(String value) {
            addCriterion("GTABLE_STYLE like", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleNotLike(String value) {
            addCriterion("GTABLE_STYLE not like", value, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleIn(List<String> values) {
            addCriterion("GTABLE_STYLE in", values, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleNotIn(List<String> values) {
            addCriterion("GTABLE_STYLE not in", values, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleBetween(String value1, String value2) {
            addCriterion("GTABLE_STYLE between", value1, value2, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andGtableStyleNotBetween(String value1, String value2) {
            addCriterion("GTABLE_STYLE not between", value1, value2, "gtableStyle");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxIsNull() {
            addCriterion("SHOW_CHECKBOX is null");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxIsNotNull() {
            addCriterion("SHOW_CHECKBOX is not null");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxEqualTo(Short value) {
            addCriterion("SHOW_CHECKBOX =", value, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxNotEqualTo(Short value) {
            addCriterion("SHOW_CHECKBOX <>", value, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxGreaterThan(Short value) {
            addCriterion("SHOW_CHECKBOX >", value, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxGreaterThanOrEqualTo(Short value) {
            addCriterion("SHOW_CHECKBOX >=", value, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxLessThan(Short value) {
            addCriterion("SHOW_CHECKBOX <", value, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxLessThanOrEqualTo(Short value) {
            addCriterion("SHOW_CHECKBOX <=", value, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxIn(List<Short> values) {
            addCriterion("SHOW_CHECKBOX in", values, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxNotIn(List<Short> values) {
            addCriterion("SHOW_CHECKBOX not in", values, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxBetween(Short value1, Short value2) {
            addCriterion("SHOW_CHECKBOX between", value1, value2, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andShowCheckboxNotBetween(Short value1, Short value2) {
            addCriterion("SHOW_CHECKBOX not between", value1, value2, "showCheckbox");
            return (Criteria) this;
        }

        public Criteria andIsPageIsNull() {
            addCriterion("IS_PAGE is null");
            return (Criteria) this;
        }

        public Criteria andIsPageIsNotNull() {
            addCriterion("IS_PAGE is not null");
            return (Criteria) this;
        }

        public Criteria andIsPageEqualTo(Short value) {
            addCriterion("IS_PAGE =", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageNotEqualTo(Short value) {
            addCriterion("IS_PAGE <>", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageGreaterThan(Short value) {
            addCriterion("IS_PAGE >", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_PAGE >=", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageLessThan(Short value) {
            addCriterion("IS_PAGE <", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageLessThanOrEqualTo(Short value) {
            addCriterion("IS_PAGE <=", value, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageIn(List<Short> values) {
            addCriterion("IS_PAGE in", values, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageNotIn(List<Short> values) {
            addCriterion("IS_PAGE not in", values, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageBetween(Short value1, Short value2) {
            addCriterion("IS_PAGE between", value1, value2, "isPage");
            return (Criteria) this;
        }

        public Criteria andIsPageNotBetween(Short value1, Short value2) {
            addCriterion("IS_PAGE not between", value1, value2, "isPage");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andTableTagIsNull() {
            addCriterion("TABLE_TAG is null");
            return (Criteria) this;
        }

        public Criteria andTableTagIsNotNull() {
            addCriterion("TABLE_TAG is not null");
            return (Criteria) this;
        }

        public Criteria andTableTagEqualTo(BigDecimal value) {
            addCriterion("TABLE_TAG =", value, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagNotEqualTo(BigDecimal value) {
            addCriterion("TABLE_TAG <>", value, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagGreaterThan(BigDecimal value) {
            addCriterion("TABLE_TAG >", value, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TABLE_TAG >=", value, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagLessThan(BigDecimal value) {
            addCriterion("TABLE_TAG <", value, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TABLE_TAG <=", value, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagIn(List<BigDecimal> values) {
            addCriterion("TABLE_TAG in", values, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagNotIn(List<BigDecimal> values) {
            addCriterion("TABLE_TAG not in", values, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TABLE_TAG between", value1, value2, "tableTag");
            return (Criteria) this;
        }

        public Criteria andTableTagNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TABLE_TAG not between", value1, value2, "tableTag");
            return (Criteria) this;
        }

        public Criteria andSeqValIsNull() {
            addCriterion("SEQ_VAL is null");
            return (Criteria) this;
        }

        public Criteria andSeqValIsNotNull() {
            addCriterion("SEQ_VAL is not null");
            return (Criteria) this;
        }

        public Criteria andSeqValEqualTo(String value) {
            addCriterion("SEQ_VAL =", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValNotEqualTo(String value) {
            addCriterion("SEQ_VAL <>", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValGreaterThan(String value) {
            addCriterion("SEQ_VAL >", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValGreaterThanOrEqualTo(String value) {
            addCriterion("SEQ_VAL >=", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValLessThan(String value) {
            addCriterion("SEQ_VAL <", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValLessThanOrEqualTo(String value) {
            addCriterion("SEQ_VAL <=", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValLike(String value) {
            addCriterion("SEQ_VAL like", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValNotLike(String value) {
            addCriterion("SEQ_VAL not like", value, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValIn(List<String> values) {
            addCriterion("SEQ_VAL in", values, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValNotIn(List<String> values) {
            addCriterion("SEQ_VAL not in", values, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValBetween(String value1, String value2) {
            addCriterion("SEQ_VAL between", value1, value2, "seqVal");
            return (Criteria) this;
        }

        public Criteria andSeqValNotBetween(String value1, String value2) {
            addCriterion("SEQ_VAL not between", value1, value2, "seqVal");
            return (Criteria) this;
        }

        public Criteria andRowFormmatIsNull() {
            addCriterion("ROW_FORMMAT is null");
            return (Criteria) this;
        }

        public Criteria andRowFormmatIsNotNull() {
            addCriterion("ROW_FORMMAT is not null");
            return (Criteria) this;
        }

        public Criteria andRowFormmatEqualTo(String value) {
            addCriterion("ROW_FORMMAT =", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatNotEqualTo(String value) {
            addCriterion("ROW_FORMMAT <>", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatGreaterThan(String value) {
            addCriterion("ROW_FORMMAT >", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatGreaterThanOrEqualTo(String value) {
            addCriterion("ROW_FORMMAT >=", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatLessThan(String value) {
            addCriterion("ROW_FORMMAT <", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatLessThanOrEqualTo(String value) {
            addCriterion("ROW_FORMMAT <=", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatLike(String value) {
            addCriterion("ROW_FORMMAT like", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatNotLike(String value) {
            addCriterion("ROW_FORMMAT not like", value, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatIn(List<String> values) {
            addCriterion("ROW_FORMMAT in", values, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatNotIn(List<String> values) {
            addCriterion("ROW_FORMMAT not in", values, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatBetween(String value1, String value2) {
            addCriterion("ROW_FORMMAT between", value1, value2, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andRowFormmatNotBetween(String value1, String value2) {
            addCriterion("ROW_FORMMAT not between", value1, value2, "rowFormmat");
            return (Criteria) this;
        }

        public Criteria andSqlValIsNull() {
            addCriterion("SQL_VAL is null");
            return (Criteria) this;
        }

        public Criteria andSqlValIsNotNull() {
            addCriterion("SQL_VAL is not null");
            return (Criteria) this;
        }

        public Criteria andSqlValEqualTo(String value) {
            addCriterion("SQL_VAL =", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValNotEqualTo(String value) {
            addCriterion("SQL_VAL <>", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValGreaterThan(String value) {
            addCriterion("SQL_VAL >", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValGreaterThanOrEqualTo(String value) {
            addCriterion("SQL_VAL >=", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValLessThan(String value) {
            addCriterion("SQL_VAL <", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValLessThanOrEqualTo(String value) {
            addCriterion("SQL_VAL <=", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValLike(String value) {
            addCriterion("SQL_VAL like", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValNotLike(String value) {
            addCriterion("SQL_VAL not like", value, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValIn(List<String> values) {
            addCriterion("SQL_VAL in", values, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValNotIn(List<String> values) {
            addCriterion("SQL_VAL not in", values, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValBetween(String value1, String value2) {
            addCriterion("SQL_VAL between", value1, value2, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andSqlValNotBetween(String value1, String value2) {
            addCriterion("SQL_VAL not between", value1, value2, "sqlVal");
            return (Criteria) this;
        }

        public Criteria andWinWidthIsNull() {
            addCriterion("WIN_WIDTH is null");
            return (Criteria) this;
        }

        public Criteria andWinWidthIsNotNull() {
            addCriterion("WIN_WIDTH is not null");
            return (Criteria) this;
        }

        public Criteria andWinWidthEqualTo(Long value) {
            addCriterion("WIN_WIDTH =", value, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthNotEqualTo(Long value) {
            addCriterion("WIN_WIDTH <>", value, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthGreaterThan(Long value) {
            addCriterion("WIN_WIDTH >", value, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthGreaterThanOrEqualTo(Long value) {
            addCriterion("WIN_WIDTH >=", value, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthLessThan(Long value) {
            addCriterion("WIN_WIDTH <", value, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthLessThanOrEqualTo(Long value) {
            addCriterion("WIN_WIDTH <=", value, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthIn(List<Long> values) {
            addCriterion("WIN_WIDTH in", values, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthNotIn(List<Long> values) {
            addCriterion("WIN_WIDTH not in", values, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthBetween(Long value1, Long value2) {
            addCriterion("WIN_WIDTH between", value1, value2, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinWidthNotBetween(Long value1, Long value2) {
            addCriterion("WIN_WIDTH not between", value1, value2, "winWidth");
            return (Criteria) this;
        }

        public Criteria andWinHeightIsNull() {
            addCriterion("WIN_HEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andWinHeightIsNotNull() {
            addCriterion("WIN_HEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andWinHeightEqualTo(Long value) {
            addCriterion("WIN_HEIGHT =", value, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightNotEqualTo(Long value) {
            addCriterion("WIN_HEIGHT <>", value, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightGreaterThan(Long value) {
            addCriterion("WIN_HEIGHT >", value, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightGreaterThanOrEqualTo(Long value) {
            addCriterion("WIN_HEIGHT >=", value, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightLessThan(Long value) {
            addCriterion("WIN_HEIGHT <", value, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightLessThanOrEqualTo(Long value) {
            addCriterion("WIN_HEIGHT <=", value, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightIn(List<Long> values) {
            addCriterion("WIN_HEIGHT in", values, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightNotIn(List<Long> values) {
            addCriterion("WIN_HEIGHT not in", values, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightBetween(Long value1, Long value2) {
            addCriterion("WIN_HEIGHT between", value1, value2, "winHeight");
            return (Criteria) this;
        }

        public Criteria andWinHeightNotBetween(Long value1, Long value2) {
            addCriterion("WIN_HEIGHT not between", value1, value2, "winHeight");
            return (Criteria) this;
        }

        public Criteria andSessionValIsNull() {
            addCriterion("SESSION_VAL is null");
            return (Criteria) this;
        }

        public Criteria andSessionValIsNotNull() {
            addCriterion("SESSION_VAL is not null");
            return (Criteria) this;
        }

        public Criteria andSessionValEqualTo(String value) {
            addCriterion("SESSION_VAL =", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValNotEqualTo(String value) {
            addCriterion("SESSION_VAL <>", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValGreaterThan(String value) {
            addCriterion("SESSION_VAL >", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValGreaterThanOrEqualTo(String value) {
            addCriterion("SESSION_VAL >=", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValLessThan(String value) {
            addCriterion("SESSION_VAL <", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValLessThanOrEqualTo(String value) {
            addCriterion("SESSION_VAL <=", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValLike(String value) {
            addCriterion("SESSION_VAL like", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValNotLike(String value) {
            addCriterion("SESSION_VAL not like", value, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValIn(List<String> values) {
            addCriterion("SESSION_VAL in", values, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValNotIn(List<String> values) {
            addCriterion("SESSION_VAL not in", values, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValBetween(String value1, String value2) {
            addCriterion("SESSION_VAL between", value1, value2, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andSessionValNotBetween(String value1, String value2) {
            addCriterion("SESSION_VAL not between", value1, value2, "sessionVal");
            return (Criteria) this;
        }

        public Criteria andIsSearchIsNull() {
            addCriterion("IS_SEARCH is null");
            return (Criteria) this;
        }

        public Criteria andIsSearchIsNotNull() {
            addCriterion("IS_SEARCH is not null");
            return (Criteria) this;
        }

        public Criteria andIsSearchEqualTo(Short value) {
            addCriterion("IS_SEARCH =", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotEqualTo(Short value) {
            addCriterion("IS_SEARCH <>", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchGreaterThan(Short value) {
            addCriterion("IS_SEARCH >", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_SEARCH >=", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchLessThan(Short value) {
            addCriterion("IS_SEARCH <", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchLessThanOrEqualTo(Short value) {
            addCriterion("IS_SEARCH <=", value, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchIn(List<Short> values) {
            addCriterion("IS_SEARCH in", values, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotIn(List<Short> values) {
            addCriterion("IS_SEARCH not in", values, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchBetween(Short value1, Short value2) {
            addCriterion("IS_SEARCH between", value1, value2, "isSearch");
            return (Criteria) this;
        }

        public Criteria andIsSearchNotBetween(Short value1, Short value2) {
            addCriterion("IS_SEARCH not between", value1, value2, "isSearch");
            return (Criteria) this;
        }

        public Criteria andEditStyleIsNull() {
            addCriterion("EDIT_STYLE is null");
            return (Criteria) this;
        }

        public Criteria andEditStyleIsNotNull() {
            addCriterion("EDIT_STYLE is not null");
            return (Criteria) this;
        }

        public Criteria andEditStyleEqualTo(Short value) {
            addCriterion("EDIT_STYLE =", value, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleNotEqualTo(Short value) {
            addCriterion("EDIT_STYLE <>", value, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleGreaterThan(Short value) {
            addCriterion("EDIT_STYLE >", value, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleGreaterThanOrEqualTo(Short value) {
            addCriterion("EDIT_STYLE >=", value, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleLessThan(Short value) {
            addCriterion("EDIT_STYLE <", value, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleLessThanOrEqualTo(Short value) {
            addCriterion("EDIT_STYLE <=", value, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleIn(List<Short> values) {
            addCriterion("EDIT_STYLE in", values, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleNotIn(List<Short> values) {
            addCriterion("EDIT_STYLE not in", values, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleBetween(Short value1, Short value2) {
            addCriterion("EDIT_STYLE between", value1, value2, "editStyle");
            return (Criteria) this;
        }

        public Criteria andEditStyleNotBetween(Short value1, Short value2) {
            addCriterion("EDIT_STYLE not between", value1, value2, "editStyle");
            return (Criteria) this;
        }

        public Criteria andRequestUrlIsNull() {
            addCriterion("REQUEST_URL is null");
            return (Criteria) this;
        }

        public Criteria andRequestUrlIsNotNull() {
            addCriterion("REQUEST_URL is not null");
            return (Criteria) this;
        }

        public Criteria andRequestUrlEqualTo(String value) {
            addCriterion("REQUEST_URL =", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlNotEqualTo(String value) {
            addCriterion("REQUEST_URL <>", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlGreaterThan(String value) {
            addCriterion("REQUEST_URL >", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlGreaterThanOrEqualTo(String value) {
            addCriterion("REQUEST_URL >=", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlLessThan(String value) {
            addCriterion("REQUEST_URL <", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlLessThanOrEqualTo(String value) {
            addCriterion("REQUEST_URL <=", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlLike(String value) {
            addCriterion("REQUEST_URL like", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlNotLike(String value) {
            addCriterion("REQUEST_URL not like", value, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlIn(List<String> values) {
            addCriterion("REQUEST_URL in", values, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlNotIn(List<String> values) {
            addCriterion("REQUEST_URL not in", values, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlBetween(String value1, String value2) {
            addCriterion("REQUEST_URL between", value1, value2, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andRequestUrlNotBetween(String value1, String value2) {
            addCriterion("REQUEST_URL not between", value1, value2, "requestUrl");
            return (Criteria) this;
        }

        public Criteria andIsUploadIsNull() {
            addCriterion("IS_UPLOAD is null");
            return (Criteria) this;
        }

        public Criteria andIsUploadIsNotNull() {
            addCriterion("IS_UPLOAD is not null");
            return (Criteria) this;
        }

        public Criteria andIsUploadEqualTo(Short value) {
            addCriterion("IS_UPLOAD =", value, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadNotEqualTo(Short value) {
            addCriterion("IS_UPLOAD <>", value, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadGreaterThan(Short value) {
            addCriterion("IS_UPLOAD >", value, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_UPLOAD >=", value, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadLessThan(Short value) {
            addCriterion("IS_UPLOAD <", value, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadLessThanOrEqualTo(Short value) {
            addCriterion("IS_UPLOAD <=", value, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadIn(List<Short> values) {
            addCriterion("IS_UPLOAD in", values, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadNotIn(List<Short> values) {
            addCriterion("IS_UPLOAD not in", values, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadBetween(Short value1, Short value2) {
            addCriterion("IS_UPLOAD between", value1, value2, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsUploadNotBetween(Short value1, Short value2) {
            addCriterion("IS_UPLOAD not between", value1, value2, "isUpload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadIsNull() {
            addCriterion("IS_DOWNLOAD is null");
            return (Criteria) this;
        }

        public Criteria andIsDownloadIsNotNull() {
            addCriterion("IS_DOWNLOAD is not null");
            return (Criteria) this;
        }

        public Criteria andIsDownloadEqualTo(Short value) {
            addCriterion("IS_DOWNLOAD =", value, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadNotEqualTo(Short value) {
            addCriterion("IS_DOWNLOAD <>", value, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadGreaterThan(Short value) {
            addCriterion("IS_DOWNLOAD >", value, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_DOWNLOAD >=", value, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadLessThan(Short value) {
            addCriterion("IS_DOWNLOAD <", value, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadLessThanOrEqualTo(Short value) {
            addCriterion("IS_DOWNLOAD <=", value, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadIn(List<Short> values) {
            addCriterion("IS_DOWNLOAD in", values, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadNotIn(List<Short> values) {
            addCriterion("IS_DOWNLOAD not in", values, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadBetween(Short value1, Short value2) {
            addCriterion("IS_DOWNLOAD between", value1, value2, "isDownload");
            return (Criteria) this;
        }

        public Criteria andIsDownloadNotBetween(Short value1, Short value2) {
            addCriterion("IS_DOWNLOAD not between", value1, value2, "isDownload");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}